package com.kunbo.cn.config;

import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

public class LoginConfig extends WebMvcConfigurerAdapter{
	@Override
	   public void addInterceptors(InterceptorRegistry registry) {
	       registry.addInterceptor(new LogInterceptor()).addPathPatterns("/system/user/login.do");
	       super.addInterceptors(registry);
	   }

}
